
<div id="orders-header" class="header1-wrapper bc">
    <div class="header1 rela bc1">
        <div class="title txtc white">我的订单</div>
        <a class="btn-home white" href="#/main" >
            <i class="icon-home2"></i>
        </a>
        <!--<a class="btn-back btn-left white" href="#" >
            <span style="font-family:'ArialMT', 'Arial';font-weight: bold;"><</span>
        </a>-->
    </div>
    <div class="txtc orders-top" style="">
        <table  width="100%" cellspacing="0" style="width:100%;padding:0;">
            <tr style="border:0;">
                <td width="50%">
                    <div class="orders-switch done" ng-class="{active:switch==0}" ng-click="switchOrders(0)">未评价</div>
                </td>
                <td >
                    <div class="orders-switch commented" ng-class="{active:switch==1}" ng-click="switchOrders(1)">已评价</div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div id="wrapper" style="top:6.2em;background-color: #eee;">
    <div id="scroller">
        <div id="pullDown">
            <span class="pullDownIcon"></span><span class="pullDownLabel">下拉刷新...</span>
        </div>

        <!--<ul ng-Load style="padding-left: 0px;margin-top: 0px">
        </ul>-->
        <div id="order-wrapper" style="padding:0.5em 0.8em;">
            <div class="light txtc noorder" style="font-size: 20px; line-height: 60px;">
                您还没有订单信息..
            </div>
            <div class="orders-list order0" >
                <div class="order-item  bc3 lh18 bc3" ng-repeat="order in orders[0].rows" ng-click="goDetail($index)">

                    <div class="order-con1 rela">
                        <span class="light">订单：</span><span class="dark ">{{order.orderno || order.id}}</span><br/>
                        <span class="light">始发：</span><span class="dark from-city">{{order.from}}</span><br/>
                        <span class="light">目的：</span><span class="dark to-city">{{order.dest}}</span><br/>
                        <span class="light">启运：</span><span class="dark from-date">{{order.bstart | dateFormat}}</span><br/>
                        <span class="light">到货：</span><span class="dark to-date">{{order.bend | dateFormat}}</span>
                        <div class="prize-wrapper tbc txtr" style="position: absolute;right:0;top:0;">
                            <span class="state lh14  btni">{{order | orderState}}</span><br/>
                            <span class="price large">{{order.price}}</span> 元
                        </div>
                        <div class="note-wrapper small light">备注：<span class="note">{{order.note}}</span> </div>
                    </div>
                    <div class="order-con2  txtc bc2 white lh24">
                        <table border="0" cellspacing="0" width="100%" class="fixed" style="width:100%;padding:0;">
                            <tr style="border:0;">
                                <td width="50%" style="">
                                    <div class="txtw" style="border-right: 1px solid #fff;">联系人：{{order.username}}</div>
                                </td>
                                <td width="50%">
                                    <a class="white block txtw" href="tel:{{order.phone}}" onclick="event.stopPropagation()">电话：{{order.phone}}</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="orders-list order1" >
                <div class="order-item  bc3 lh18 bc3" ng-repeat="order in orders[1].rows" ng-click="goDetail($index)">

                    <div class="order-con1 rela">
                        <span class="light">订单：</span><span class="dark ">{{order.orderno || order.id}}</span><br/>
                        <span class="light">始发：</span><span class="dark from-city">{{order.from}}</span><br/>
                        <span class="light">目的：</span><span class="dark to-city">{{order.dest}}</span><br/>
                        <span class="light">启运：</span><span class="dark from-date">{{order.bstart | dateFormat}}</span><br/>
                        <span class="light">到货：</span><span class="dark to-date">{{order.bend | dateFormat}}</span>
                        <div class="prize-wrapper tbc txtr" style="position: absolute;right:0;top:0;">
                            <span class="state lh14  btni">{{order | orderState}}</span><br/>
                            <span class="price large">{{order.price}}</span> 元
                        </div>
                        <div class="note-wrapper small light">备注：<span class="note">{{order.note}}</span> </div>
                    </div>
                    <div class="order-con2  txtc bc2 white lh24">
                        <table border="0" cellspacing="0" width="100%" class="fixed" style="width:100%;padding:0;">
                            <tr style="border:0;">
                                <td  style="width:50%;">
                                    <div class="txtw" style="border-right: 1px solid #fff;">联系人：{{order.username}}</div>
                                </td>
                                <td>
                                    <a class="white block txtw" href="tel:{{order.phone}}" onclick="event.stopPropagation()">电话：{{order.phone}}</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div id="pullUp">
            <span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载更多...</span>
        </div>

    </div>
</div>